package member.service;

import member.domain.Member;

public class MemberService {
	private static MemberService instance = new MemberService();

	private MemberService() {
	}

	public static MemberService getInstance() {
		return instance;
	}
	//id로 회원정보 조회
	public Member searchMemberById(String id){
		System.out.println("회원정보 조회 비지니스 로직 처리");//사실이거는 DAO도 갓다오고 DB까지 갓다오는 메소드임
		return new Member(id,"1111","박철수","park@abc.com",20000);
	}
	
	
}
